package com.bishe.o2oo.util;

public class PageCalculator {
	public static int calculateRowIndex(int pageIndex, int pageSize) {
		return (pageIndex > 0) ? (pageIndex - 1) * pageSize : 0;//jiang将pageindex转换成rowindex
	}
}
